package com.po;


import java.sql.Timestamp;

public class Course {
    private long id;

    private String course_name;

    private long course_type_id;

    private String course_desc;

    private long coach_id;

    private Timestamp start_time;

    private Timestamp end_time;

    private int like_count;

    private String ctype;
    private String photo;

    public String getPhoto() {
        return photo;
    }

    public Course setPhoto(String photo) {
        this.photo = photo;
        return this;
    }

    public long getCoach_id() {
        return coach_id;
    }

    public Course setCoach_id(long coach_id) {
        this.coach_id = coach_id;
        return this;
    }

    public String getCourse_desc() {
        return course_desc;
    }

    public Course setCourse_desc(String course_desc) {
        this.course_desc = course_desc;
        return this;
    }

    public String getCourse_name() {
        return course_name;
    }

    public Course setCourse_name(String course_name) {
        this.course_name = course_name;
        return this;
    }

    public long getCourse_type_id() {
        return course_type_id;
    }

    public Course setCourse_type_id(long course_type_id) {
        this.course_type_id = course_type_id;
        return this;
    }

    public String getCtype() {
        return ctype;
    }

    public Course setCtype(String ctype) {
        this.ctype = ctype;
        return this;
    }

    public Timestamp getEnd_time() {
        return end_time;
    }

    public Course setEnd_time(Timestamp end_time) {
        this.end_time = end_time;
        return this;
    }

    public long getId() {
        return id;
    }

    public Course setId(long id) {
        this.id = id;
        return this;
    }

    public int getLike_count() {
        return like_count;
    }

    public Course setLike_count(int like_count) {
        this.like_count = like_count;
        return this;
    }

    public Timestamp getStart_time() {
        return start_time;
    }

    public Course setStart_time(Timestamp start_time) {
        this.start_time = start_time;
        return this;
    }

    @Override
    public String toString() {
        return "Course{" +
                "coach_id=" + coach_id +
                ", id=" + id +
                ", course_name='" + course_name + '\'' +
                ", course_type_id=" + course_type_id +
                ", course_desc='" + course_desc + '\'' +
                ", start_time=" + start_time +
                ", end_time=" + end_time +
                ", like_count=" + like_count +
                ", ctype='" + ctype + '\'' +
                ", photo='" + photo + '\'' +
                '}';
    }
}